<?php
$this->breadcrumbs=array(
    '其他实验平台',
);

?>
    <div class="panel panel-box" style="overflow:hidden;">
        <div class="panel-heading">
        <div class="titleimage">
            <h3 class="panel-title panel-title-font">
                <?php echo '其他平台资源'; ?>
            </h3>
        </div>
        </div>
        <div class="panel-body" style="padding:15px">
        <?php
            $this->widget('zii.widgets.grid.CGridView', array(
	            'id'=>'course-grid',
                'dataProvider'=>$dataProvider,
                'columns'=>array(
                    array(
                        'class'=>'CLinkColumn',
                        'header'=>'资源名称',
                        'labelExpression'=>'$data->title',
                        'urlExpression'=>'Yii::app()->createURL("teaching/view", array("id"=>"$data->teaching_id"))',
                    ),
                    array(
                        'name'=>yii::t('other/Site','创建用户'),
                        'value'=>'$data->user->user_name',
                        'htmlOptions'=>array('style'=>'width:100px'),
                    ),
                    array(
                        'name'=>yii::t('other/Site','创建日期'),
                        'value'=>'$data->create_date',
                        'htmlOptions'=>array('style'=>'width:200px'),
                    ),
                ),
            ));
        ?>
        </div>
    </div>

